package cn.net.dckj.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.net.dckj.common.annotation.Excel;
import cn.net.dckj.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 测试代码生成对象 ttt
 * 
 * @author dckj
 * @date 2019-10-14
 */
public class Ttt extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 数量 */
    @Excel(name = "数量")
    private Long num;

    /** 日期 */
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date myTime;


    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setNum(Long num) 
    {
        this.num = num;
    }

    public Long getNum() 
    {
        return num;
    }
    public void setMyTime(Date myTime) 
    {
        this.myTime = myTime;
    }

    public Date getMyTime() 
    {
        return myTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("num", getNum())
            .append("myTime", getMyTime())
            .append("createBy", getCreateBy())
            .append("remark", getRemark())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .append("delReason", getDelReason())
            .append("createTime", getCreateTime())
            .toString();
    }
}
